﻿<?php
include_once("../initial.php");
include_once(constant('PROJECT_DIR')."/logic/pageLogic.php");
if(!isset($_GET['id']))
{
	$_GET['id']="0";
}
$id = $_GET['id'];

$pageLogic = new pageLogic();

$pageList = $pageLogic->get_page(array('id'=>$id));

print json_encode($pageList[0]);
?>
